﻿using System;

namespace Model
{
 public  class Owner:BaseModel 
    {
        public const string CONST_OWNER_ID = "OwnerId";
        public const string CONST_CODE_NUMBER = "CodeNumber";
        public virtual int OwnerId { get; set; }
        public virtual string CodeNumber { get; set; }
        public virtual int  BuildingId { get; set; }
        public virtual int  LocationId { get; set; }
        public virtual int  EmployeeId { get; set; }
        public virtual DateTime DateEnter { get; set; }
        public virtual bool Unuse { get; set; }
        public virtual int OrdreReservation { get; set; }
        public virtual int SystemId { get; set; }
        public virtual int TypeId { get; set; }

        public override int Key
        {
            get { return this.OwnerId; }
        }
    }
}
